#! /bin/bash
PWD=$(dirname "$0")
PID_PATH=$PWD/repchain-browser-server.pid

if [ -f "$PID_PATH" ]; then
  echo "repchain-browser-server is running."
  exit
fi

nohup java -jar browser-server-0.0.1-SNAPSHOT.jar  >/dev/null 2>&1 & echo $! > repchain-browser-server.pid
